home *** CD-ROM | disk | FTP | other *** search
- global PathToObjectsList, Infos
- if Infos is not empty then
- if PathToObjectsList is empty then
- put procPath() into path
- put "Objects" after last word of path
- if there is a file path then
- put HyperExtrasObjects into PathToObjectsList
- else
- answer "Create a new file List or find an old one?" with "New" or "Find" or "Cancel"
- if it is "Cancel" then exit to hypercard
- if it is "Find" then
- answer file "Please pick objects list file"
- if it is not empty and the result is not cancel then
- put it into PathToObjectsList
- end if
- else
- ask file "Please choose a location for the list file"
- if it is not empty and the result is not cancel then
- put it into PathToObjectsList
- end if
- end if
- end if
- end if
- open file PathToObjectsList
- write Infos to file PathToObjectsList
- close file PathToObjectsList
- else
- answer "No Data!"
- end if